package com.cd.song.api;

import com.cd.song.jpa.domain.Song;

import java.util.List;
import java.util.Optional;

public interface SongService {

    List<Song> findAll(Song song);

    Optional<Song> findById(Long id);

    Song save(Song song);

    void deleteById(Long id);

    void loadMusicListWithDisk();
}